﻿@model KhuyenMaiVang.Models.LoginUser

@{
    ViewBag.Title = "Đăng nhập";
    Layout = "~/Views/Shared/_LayoutDetail.cshtml";
}
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
<div id="container-normal" class="box-item">

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
    <div>
        <fieldset style="margin:40px">
            <legend><span style="font-size:30px"> Đăng nhập hay @Html.ActionLink("Đăng kí", "Register")</span></legend>

            <div class="editor-label">
                @Html.LabelFor(m => m.Email)
            </div>
            <div class="editor-field">
                @Html.TextBoxFor(m => m.Email)
                @Html.ValidationMessageFor(m => m.Email)
            </div>

            <div class="editor-label">
                @Html.LabelFor(m => m.Password)
            </div>
            <div class="editor-field">
                @Html.PasswordFor(m => m.Password)
                @Html.ValidationMessageFor(m => m.Password)
            </div>

            <div class="editor-label">
                
            </div>

            <p>
                <input type="submit" value="Đăng nhập" />
            </p>
        </fieldset>
    </div>
}

</div>